/*
package com.thingsgrid.application.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperationSupport;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;

import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;

import org.springblade.core.boot.file.BladeFile;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.thingsgrid.application.entity.AppApi;
import com.thingsgrid.application.vo.AppApiVO;
import com.thingsgrid.application.wrapper.AppApiWrapper;
import com.thingsgrid.application.service.IAppApiService;
import org.springblade.core.boot.ctrl.BladeController;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

*/
/**
 *  控制器
 *
 * @author BladeX
 * @since 2019-08-13
 *//*

@RestController
@AllArgsConstructor
@RequestMapping("/appapi")
@Api(value = "应用管理", tags = "接口")
public class AppApiController extends BladeController {

	private IAppApiService appApiService;

	*/
/**
	* 详情
	*//*

	@GetMapping("/detail")
    @ApiOperationSupport(order = 1)
	@ApiOperation(value = "详情", notes = "传入appApi")
	public R<AppApiVO> detail(AppApi appApi) {
		AppApi detail = appApiService.getOne(Condition.getQueryWrapper(appApi));
		return R.data(AppApiWrapper.build().entityVO(detail));
	}

	*/
/**
	* 分页 
	*//*

	@GetMapping("/list")
    @ApiOperationSupport(order = 2)
	@ApiOperation(value = "分页", notes = "传入appApi")
	public R<IPage<AppApiVO>> list(AppApi appApi, Query query) {
		IPage<AppApi> pages = appApiService.page(Condition.getPage(query), Condition.getQueryWrapper(appApi));
		return R.data(AppApiWrapper.build().pageVO(pages));
	}

	*/
/**
	* 自定义分页 
	*//*

	@GetMapping("/page")
    @ApiOperationSupport(order = 3)
	@ApiOperation(value = "分页", notes = "传入appApi")
	public R<IPage<AppApiVO>> page(AppApiVO appApi, Query query) {
		IPage<AppApiVO> pages = appApiService.selectAppApiPage(Condition.getPage(query), appApi);
		return R.data(pages);
	}

	*/
/**
	* 新增 
	*//*

	@PostMapping("/save")
    @ApiOperationSupport(order = 4)
	@ApiOperation(value = "新增", notes = "传入appApi")
	public R save(@Valid @RequestBody AppApi appApi) {
		return R.status(appApiService.save(appApi));
	}

	*/
/**
	* 修改 
	*//*

	@PostMapping("/update")
    @ApiOperationSupport(order = 5)
	@ApiOperation(value = "修改", notes = "传入appApi")
	public R update(@Valid @RequestBody AppApi appApi) {
		return R.status(appApiService.updateById(appApi));
	}

	*/
/**
	* 新增或修改 
	*//*

	@PostMapping("/submit")
    @ApiOperationSupport(order = 6)
	@ApiOperation(value = "新增或修改", notes = "传入appApi")
	public R submit(@Valid @RequestBody AppApi appApi) {
		return R.status(appApiService.saveOrUpdate(appApi));
	}

	
	*/
/**
	* 删除 
	*//*

	@PostMapping("/remove")
    @ApiOperationSupport(order = 8)
	@ApiOperation(value = "删除", notes = "传入ids")
	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
		return R.status(appApiService.removeByIds(Func.toLongList(ids)));
	}






	
}
*/
